{% extends 'dashboard/base.html' %}
{% block content %}

{% if search_results %}

<h3>Sample Table Search Results...</h3>

<table border>
    <th>Tag ID </th>
    <th>Tag Type </th>
    <th>Value</th>
    <th>Description</th>

    {% for sample in search_results %}
        <tr>
        <td>{{ sample.0 }}</td>
        <td>{{ sample.1 }}</td>
        <td>{{ sample.2 }}</td>
        <td>{{ sample.3 }}</td>
        </tr>
    {% endfor %}
</table>

{% endif %}
{% if not search_results %}
<h3> No Search results! </h3>
{% endif %}
{% endblock %}
